import Vue from 'vue';
import 'element-ui/lib/theme-chalk/index.css';
import {
	Button,
	Input,
	Container,
	Header,
	Main,
	Footer,
	Col,
	Row,
	ColorPicker,
	Tabs,
	TabPane,
	Table,
	TableColumn,
	Form,
	FormItem,
	Dialog,
	Popover
} from 'element-ui';
let componentsObj = {
	Button,
	Input,
	Container,
	Header,
	Main,
	Footer,
	Col,
	Row,
	ColorPicker,
	Tabs,
	TabPane,
	Table,
	TableColumn,
	Form,
	FormItem,
	Dialog,
    Popover
};
// Object.keys(componentsObj).map(item => {
// 	Vue.use(componentsObj[item]);
// });
Object.values(componentsObj).map(item => {
	Vue.use(item);
});